package com.ncloud.resman.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;

import java.util.Date;

/**
 * Created by shiqiang on 2017/8/28.
 */
public class VirtualNetworkCard {
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long cardId;
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long virtualId;
    private String cardName;
    private String cardIp;
    private String isManage;
    private String state;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long createUser;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @JSONField(serializeUsing=ToStringSerializer.class)
    private Long updateUser;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    public Long getCardId() {
        return cardId;
    }

    public void setCardId(Long cardId) {
        this.cardId = cardId;
    }

    public Long getVirtualId() {
        return virtualId;
    }

    public void setVirtualId(Long virtualId) {
        this.virtualId = virtualId;
    }

    public String getCardName() {
        return cardName;
    }

    public void setCardName(String cardName) {
        this.cardName = cardName;
    }

    public String getCardIp() {
        return cardIp;
    }

    public void setCardIp(String cardIp) {
        this.cardIp = cardIp;
    }

    public String getIsManage() {
        return isManage;
    }

    public void setIsManage(String isManage) {
        this.isManage = isManage;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}
